package com.yzl.insert;

public class TestService {
    private TestDao testDao;
    private String tname;

    public void setTestDao(TestDao testDao) {
        this.testDao = testDao;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public void test(){
        testDao.test();
        System.out.println(tname);
    }

}
